package model;

public class Speed {

	
	int meterPerSecond;
	
	private Speed(int meterPerSecond) {
		this.meterPerSecond=meterPerSecond;
	}

	public static Speed makeSpeedFromMeterPerSecond(int meterPerSecond) {
		return new Speed(meterPerSecond);
	}

	public int getMeterPerSecond() {
		
		return meterPerSecond;
	}

	public String getMeterPerSecondString() {
		return ""+getMeterPerSecond()+"m/s";
	}

}
